﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common.Master" AutoEventWireup="true" CodeBehind="frmUserneirong.aspx.cs" Inherits="WebApp3.frmUserl" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style9 {
            width: 110px;
        }
        .auto-style10 {
            height: 20px;
            width: 110px;
        }
            
.btnSubmit{ padding:0 10px; height:28px; line-height:28px; color:#3D80B3; font-weight:bold; border:1px solid #AED0EA; background:url('http://localhost:21226/aspnetcode源码/Admin/images/btn_bg.gif') repeat-x 0 -44px; 
cursor:pointer; vertical-align:middle; overflow:hidden; }

    .btnSubmit{ padding:0 10px; height:33px; line-height:33px; color:#3D80B3; font-weight:bold; border:1px solid #AED0EA; background:url('http://localhost:21226/aspnetcode源码/Admin/images/btn_bg.gif') repeat-x 0 -44px; 
cursor:pointer; vertical-align:middle; overflow:hidden; }
        
* {
    scrollbar-face-color: #E6F2FD;
    scrollbar-highlight-color: #ffffff;
    scrollbar-shadow-color: #D6E4EF;
    scrollbar-3dlight-color: #F1F9FF;
    scrollbar-arrow-color: #006699;
    scrollbar-track-color: #F1F9FF;
    scrollbar-darkshadow-color: #F1F9FF;
}

    </style>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="auto-style7">
        <tr>
            <td style="text-align: center">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" CellSpacing="2" ForeColor="Black" OnSelectedIndexChanged="GridView1_SelectedIndexChanged1" Width="640px">
                    <Columns>
                        <asp:TemplateField HeaderText="查看留言内容并进行修改">
                            <ItemTemplate>
                                <table class="auto-style7" style="width: 100%">
                                    <tr>
                                        <td>
                                            <asp:Image ID="Image9" runat="server" Height="24px" ImageUrl='<%# Eval("face", "~\\face\\{0}.gif") %>' Width="24px" />
                                        </td>
                                        <td class="auto-style9" style="font-size: medium; color: #FF6600; font-weight: bold; text-align: right;">留言者：</td>
                                        <td style="font-size: medium; color: #FF6600; font-weight: bold">
                                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("name", "{0}") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style8"></td>
                                        <td class="auto-style10" style="font-size: medium; color: #FF6600; font-weight: bold; text-align: right;">留言主题：</td>
                                        <td class="auto-style8" style="font-size: medium; color: #FF6600; font-weight: bold">
                                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("lyzhuti", "{0}") %>'></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>&nbsp;</td>
                                        <td class="auto-style9" style="font-size: medium; color: #FF6600; font-weight: bold; text-align: right;">留言内容：</td>
                                        <td style="font-size: medium; color: #FF6600; font-weight: bold">
                                            <asp:TextBox ID="TextBox1" runat="server" Height="85px" Text='<%# Eval("lyneirong", "{0}") %>' TextMode="MultiLine" Width="252px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>&nbsp;</td>
                                        <td class="auto-style9" style="font-size: medium; color: #FF6600; font-weight: bold; text-align: right;">回复内容：</td>
                                        <td style="font-size: medium; color: #FF6600; font-weight: bold">
                                            <asp:TextBox ID="TextBox3" runat="server" Height="74px" Text='<%# Eval("ReyNeirong", "{0}") %>' TextMode="MultiLine" Width="253px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-size: medium; font-weight: bold; color: #FF6600">回复者：</td>
                                        <td class="auto-style9" style="font-size: medium; color: #FF6600; font-weight: bold; text-align: left;">
                                            <asp:Label ID="Label4" runat="server" Text='<%# Eval("ReyName", "{0}") %>'></asp:Label>
                                        </td>
                                        <td style="font-size: medium; color: #FF6600; font-weight: bold">回复时间：<asp:Label ID="Label3" runat="server" Text='<%# Eval("ReyTime", "{0}") %>'></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#CCCCCC" />
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                    <RowStyle BackColor="White" />
                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#808080" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#383838" />
                </asp:GridView>
                <table class="auto-style7">
                    <tr>
                        <td style="font-size: medium; color: #FF3300; font-weight: bold; text-align: right">回复内容：</td>
                        <td style="font-size: medium; font-weight: bold; color: #000000; text-align: left">
                            <asp:TextBox ID="TextBox2" runat="server" Width="324px"></asp:TextBox>
                        &nbsp; <asp:ImageButton ID="ImageButton1" runat="server" Height="20px" ImageUrl="~/tupian/images/chongzhi.jpg" OnClick="ImageButton1_Click" Width="62px" />
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td style="text-align: left">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnSubmit" runat="server" CssClass="btnSubmit" onclick="btnSubmit_Click" Text="提交保存" />
            &nbsp; 
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align: center">
                            <asp:Label ID="lblOk" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
